import React from 'react';
import Wrap from './Wrap';
import { Modal } from 'antd';

function BaseModal(props) {

  return (
    <Modal
      title={props.title}
      open={props.visiable}
      onOk={props.closeDialog}
      onCancel={props.closeDialog}
      okText={props.okText}
      >
      <p>1111</p>
      <p>1111</p>
      <p>1111</p>
      <p>1111</p>
      <p>1111</p>
    </Modal>
  )
}

export default Wrap(BaseModal)